package com.speechb.modules.system.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.speechb.modules.system.admin.mapper.ComMapper;
import com.speechb.modules.system.admin.service.IComService;
import com.speechb.modules.system.admin.service.ISysMenuService;
import com.speechb.modules.system.entity.CommonModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author llj
 * @since 2019-10-03
 */
@Service
public class ComServiceImpl implements IComService {
   @Autowired
   ComMapper comMapper;

    @Override
    public int update(CommonModel commonModel) {
        return comMapper.update(commonModel);
    }

    @Override
    public int delete(CommonModel commonModel) {
        return comMapper.delete(commonModel);
    }
}
